package run.vue.iblog.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

// 书籍类
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Book implements Serializable {
    private int id;
    private String cover;
    private String title;
    private String author;
    private String date;
    private String press;
    private String abs;
    private int cid;

    //所属分类
    transient private Category category;

}
